<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
				xmlns:myns="http://www.sci-lab.it">

<xsl:output method="xml"
	encoding="UTF-8"
	omit-xml-declaration="yes"
    doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
    doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
	indent="yes"/>
<xsl:template match="/">
		  
<html xmlns="http://www.w3.org/1999/xhtml" lang="it" >
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15" />
		<meta http-equiv="Content-Script-Type" content="text/javascript" />
		<meta name="title" content="Home Page - Sci-Lab" />
		<meta name="author" content="Bonotto Sara, Crosato Emanuele, Tronchin Luca,  Vazzoler Raffaele" />
		<xsl:element name="meta">
			<xsl:attribute name="name">description</xsl:attribute>
			<xsl:attribute name="content">Pagina di anteprima articolo del portale Sci-Lab.</xsl:attribute>
		</xsl:element>
		<meta name="keywords" content="Giornale, Notizie, Scienze, Articoli, Astronomia, Biologia, Chimica, Fisica, Informatica, Matematica, Scienze della natura" />
		<meta name="language" content="italian it" />
		
		<title>Anteprima - Sci-Lab</title>
		<script type="text/javascript" src="../js/utilities.js"></script>
		<script type="text/javascript" src="../js/pageSize.js"></script>
		
		<link type="text/css" rel="stylesheet" href="../style/screen.css" media="screen" />
		<link type="text/css" rel="stylesheet" href="../style/print.css" media="print" />
	</head>

	<body onload="pageSize(); checkUserAgent('no');">
		<div id="contenitoreTutto">
			<div id="header">
				<div id="logo">SCI - LAB</div>
			</div>
		
			<div id="path">
				Ti trovi in: Home &gt;&gt; <xsl:value-of select="//myns:subject"/> &gt;&gt; <xsl:value-of select="//myns:title"/>
			</div>
		
			<div id="contenitoreMenu">
				<div id="menu">
					<div class="center" ><strong>MENU</strong></div>
			
					<div>
						<dl>
							<dt class="marginBottom"> Home </dt>
							
							<dt> Astronomia </dt>
							<dt> Biologia </dt>
							<dt> Chimica </dt>
							<dt> Fisica </dt>
							<dt> Informatica </dt>
							<dt> Matematica </dt>
							<dt class="marginBottom"> Scienze della natura </dt>
							
							<dt> Cos'&#232; Sci-Lab </dt>
							<dt> Lavora per noi </dt>
							<dt> Area Riservata </dt>
							<dt> Mappa del sito </dt>
						</dl>
						<br />
						
						<form action="">
							<div id="centerFind">
								<label for="search">CERCA ARTICOLI</label> <br />
								<input type="text" name="search" disabled="disabled" id="search"/> <br />
								<input name="submit" id="submitSearch" type="button" value="Cerca" disabled="disabled" />
							</div>
		 				</form>
					
					</div>
				</div>
			</div>
				
			<div id="contentHome">
				<div class="titleContent"><h1>ANTEPRIMA ARTICOLO</h1></div>
				<div class="article">
					<div class="date"> <xsl:value-of select="//myns:date"/> </div>
					<div class="subject"> <xsl:value-of select="//myns:subject"/> </div> <br />
					<div class="title"><h2> <xsl:value-of select="//myns:title"/></h2> </div> <br />
					<div class="abstract"> <xsl:value-of select="//myns:abstract"/> </div> <br /> <br />
					<xsl:if test="/myns:articles/myns:article/myns:content/myns:h2">
						<div class="articleMenu">
							<dl>
								<xsl:for-each select="/myns:articles/myns:article/myns:content/myns:h2">
									<dt>
										<xsl:element name="a">
											<xsl:attribute name="href">#<xsl:value-of select="." /></xsl:attribute>
											<xsl:value-of select="." />
										</xsl:element>
									</dt>
								</xsl:for-each>
							</dl>
						</div>
					</xsl:if>
					<div class="content"><xsl:apply-templates select="//myns:content/node()"/> </div>
				</div>
				<p> <strong>Nota:</strong> <br />La somma delle dimensioni delle immagini non deve superare 1,5MB.
					Se le immagini non vengono visualizzate correttamente potrebbero sforare la dimensione massima oppure
					non sono state aggiunte.</p>
				<form action="../cgi-bin/storeArticle.cgi" method="post">
					<div class="alignRight"><input type="submit" value="Pubblica" /></div>
				</form>
		
			</div>
			
			<div id="login">
				<form action="">
					<fieldset id="fieldset">
						<legend><strong>LOGIN</strong></legend>
						<label for="username">Username </label> <br />
						<input name="username" id="username" value="" title="Inserisci lo username" disabled="disabled" /><br /> <br />
						<label for="password">Password </label> <br />
						<input type="password" name="password" id="password" value="" title="Inserisci la password" disabled="disabled" /><br /> <br />
						<p id="registerForm">Registrati (r)</p>
						<input name="submit" id="submitLogin" type="button" value="Login" title="Effettua login" disabled="disabled" />
					</fieldset>
				</form>
			</div>
		</div>
		
		<div id="footer">
			<div class="imageCertification">
				<img src="../img/css.gif" title="Validazione CSS" alt="Sito certificato secondo le regole css" width="100" height="32" />
			</div>
			<div class="imageCertification">
				<img src="../img/html.png" title="Validazione XHTML" alt="Sito certificato secondo le regole xhtml 1.0" width="100" height="32" />
			</div>
			<div class="imageCertification">
				<img src="../img/wai_aaa.gif" title="Validazione WCAG" alt="Livello di accessibilita' del sito AAA " width="100" height="32" />  
			</div>
		</div>
	</body>
</html>

</xsl:template>
	
	<xsl:template match="*" xmlns="http://www.w3.org/1999/xhtml">
        <xsl:element name="{local-name(.)}">
        	<xsl:copy-of select="@*"/>
            <xsl:apply-templates/>
        </xsl:element>
    </xsl:template>

    <xsl:template match="@*">
	<xsl:copy />
    </xsl:template>
</xsl:stylesheet>